package domain.entities.interfaces;

import java.util.Set;

import domain.entities.impl.ContactGroup;
import domain.entities.impl.PhoneNumber;

public interface IContact {

	//VERSION
	public abstract int getVersion();
	public abstract int getChildsVersion();
	public abstract void setVersion(int version);
	public abstract void setChildsVersion(int childsVersion);
	
	//BOOKS
	public abstract Set<IContactGroup> getBooks();
	public abstract void setBooks(Set<IContactGroup> books);
	public abstract void removeContactGroup(int idContactGroup);
	
	//PHONES
	public abstract Set<IPhoneNumber> getPhones();
	public abstract void setPhones(Set<IPhoneNumber> phones);

	//ADD
	public abstract IAddress getAdd();
	public abstract void setAdd(IAddress add);

	//FIRSTNAME
	public abstract String getFirstName();
	public abstract void setFirstName(String firstName);

	//LASTNAME
	public abstract String getLastName();
	public abstract void setLastName(String lastName);

	//EMAIL
	public abstract String getEmail();
	public abstract void setEmail(String email);

	//ID
	public abstract int getId();
	public abstract void setId(int id);

}